from selenium.webdriver.common.by import By
from autoTest_ecshop.base_page.base import BasePage
from autoTest_ecshop.utils.log_util import logger
class Menupage(BasePage):
    #菜单栏表单
    frame1_loator=(By.CSS_SELECTOR,'[name="menu-frame"]')
    #点击夺宝奇兵
    duobao_locator = (By.LINK_TEXT, "夺宝奇兵")
    #夺宝奇兵页面表单
    frame2_locator =(By.CSS_SELECTOR, '[id="main-frame"]')
    #添加夺宝奇兵按钮
    addDBQB_locator = (By.LINK_TEXT, "添加夺宝奇兵")
class delete_DBQB(BasePage):
    #夺宝奇兵搜索框
    research_locator=(By.CSS_SELECTOR,'[name="keyword"]')
    #夺宝奇兵搜索框搜索按钮
    # research_bth_locator=(By.LINK_TEXT,'[type=""]')